package com.wlc.springdemo.po;

/**
 * @author 王立朝
 * @date 2022/11/23
 * @description: 书籍
 */
public class BookStore {

    private int id;
    private String bookName;
    private int price;
    private int total;

    @Override
    public String toString() {
        return "BookStore{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", price=" + price +
                ", total=" + total +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public BookStore() {
    }

    public BookStore(int id, String bookName, int price, int total) {
        this.id = id;
        this.bookName = bookName;
        this.price = price;
        this.total = total;
    }
}
